<template>
	<view>
		<u-tabs :list="list" active-color="#427705 " :is-scroll="false" :current="current" @change="change"></u-tabs>
		<view>
			<!-- <vote></vote> -->
			<!-- <voteone></voteone> -->
			<votetwo></votetwo>
		</view>
	</view>
</template>

<script>
	import vote from './components/vote.vue'
	import voteone from './components/voteone.vue'
	import votetwo from './components/votetwo.vue'
	export default {
		data() {
			return {
				authenticationShow: false,
				list: [{
					name: '投票'
				}, {
					name: '公示'
				}, {
					name: '投票记录',
				}],
				current: 0
			}
		},
		components:{
			vote,
			voteone,
			votetwo
		},
		methods: {
			change(index) {
				this.current = index;
			}
		}
	}
</script>

<style>
	page {
		background: #F4F4F4;
	}
</style>
